package com.qige.homework.kind;

public class Programmer extends Employee {
    public String language = "java";

    public Programmer() {
    }

    public Programmer(String id, String name, int age, int salary, String language) {
        super(id, name, age, salary);
        this.language = language;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public void getInfo(){
        System.out.println("编号:" + id + "姓名:" + name + "年龄:" + age + "薪资:" + salary + "编程语言:" + language);
    }
}
